#include "StaticPointFCN.h"
//#include <iostream>

double StaticPointFCN::operator()(const std::vector<double>& a_arg) const
{
	assert(a_arg.size() == 2);
	////std::cout<<"f2: \t";
	return m_minimizeFun(a_arg[0], a_arg[1]);
}

std::vector<double> StaticPointFCN::Gradient(const std::vector<double>& a_arg) const
{
	assert(a_arg.size() == 2);
	return m_minimizeFun.Gradient(a_arg[0], a_arg[1]);
}